
<div class="indexWidth">
    <button type="button" class="btn btn-info mainButtonRight"><a
            href="javascript:takeout.openMenu('${ctxPath!}/banner/list', null)" class="mianAcolor">返回</a></button>

    <div class="sectionTitle">
        幻灯片设置
        <hr>
    </div>
<form id="bannerForm" action="${ctxPath!}/banner/save" method="POST" class="form-horizontal"  enctype="multipart/form-data">
    <input type="hidden" name="banner.id" value="${banner.id!}" />
    <input type="hidden" name="banner.img" value="${banner.img!}" />
    <div class="articleFormLabel">
        <label class="mainSetConsistentWidth">标题：</label>
        <input type="text" id="According" name="banner.title" class="mainSetWidth" value="${banner.title!}" placeholder="" />
    </div>


    <div class="articleFormLabel">
        <label class="mainSetConsistentWidth">是否显示：</label>
        <#dictTag val="${banner.status!}" type="radio" style="margin-left:5px;" group="show_hidden" pname="banner.status" defaultNumber="1"></#dictTag>
    </div>

    <!--<div class="articleFormLabel">
        <label class="mainSetConsistentWidth">打开类型：</label>
        <#dictTag val="${banner.type!}" type="radio" style="margin-left:5px;" group="banner_type"  pname="banner.type" defaultNumber="shangjia"></#dictTag>
    </div>
-->
    <div class="articleFormLabel" style="display: flex;">
        <label class="mainSetConsistentWidth">图片地址：</label>
        <div><input type="file" id="grouping" name="banner.img" class="mainSetWidth">
            <a style="text-align: center;" target="_blank" href="${banner.img!}">查看图片</a></div>
    </div>

    <div class="form-group">
        <button style="margin-left: 100px;width:95px;" class="btn btn-info articleFormButton" type="button"
                onclick="takeout.ajaxFormMainPanel('bannerForm')" >保存</button>
    </div>

</form>